// Copyright (c) 2023, zongying_cao@163.com
// All rights reserved.
//
// This software is licensed under the MIT License.
use serde::{Deserialize, Serialize};

#[derive(Serialize, Default)]
pub struct LoginInfo {
    pub user_name: String,
    pub pwd: String,
}
#[derive(Deserialize, Default)]
pub struct ImgCode {
    pub code: String,
    pub img: String,
}
#[derive(Debug, Serialize)]
pub struct CodeSource {
    pub code: String,
}
#[derive(Deserialize, Default)]
pub struct Response<T> {
    pub data: T,
}
